package com.ruoyi.operationLog.domain;

public class DocumentTemplate {
    public static final String MAPPING_TEMPLATE ="{\n" +
            "  \"mappings\": {\n" +
            "    \"properties\": {\n" +
            "      \"id\": {\n" +
            "        \"type\": \"long\"\n" +
            "      },\n" +
            "      \"projectId\": {\n" +
            "        \"type\": \"long\"\n" +
            "      },\n" +
            "      \"implementationUnit\": {\n" +
            "        \"type\": \"keyword\",\n" +
            "        \"index\": false,\n" +
            "        \"ignore_above\": 256\n" +
            "      },\n" +
            "      \"creator\": {\n" +
            "        \"type\": \"keyword\",\n" +
            "        \"index\": false,\n" +
            "        \"ignore_above\": 256\n" +
            "      },\n" +
            "      \"createTime\": {\n" +
            "        \"type\": \"date\"\n" +
            "      },\n" +
            "      \"fileName\": {\n" +
            "        \"type\": \"keyword\",\n" +
            "        \"index\": false,\n" +
            "        \"ignore_above\": 256\n" +
            "      },\n" +
            "      \"fileUrl\": {\n" +
            "        \"type\": \"keyword\",\n" +
            "        \"index\": false,\n" +
            "        \"ignore_above\": 1024\n" +
            "      },\n" +
            "      \"operationRecord\": {\n" +
            "        \"type\": \"keyword\",\n" +
            "        \"index\": false,\n" +
            "        \"ignore_above\": 1024\n" +
            "      },\n" +
            "      \"stage\": {\n" +
            "        \"type\": \"keyword\",\n" +
            "        \"index\": true\n" +
            "      },\n" +
            "      \"remark\": {\n" +
            "        \"type\": \"text\",\n" +
            "        \"index\": false\n" +
            "      }\n" +
            "    }\n" +
            "  }\n" +
            "}";
}
